package com.cjt.controller;

import com.cjt.common.dto.StuListClaInfo;
import com.cjt.common.lang.R;
import com.cjt.service.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/stu")
public class ScoreController {

    @Autowired
    ScoreService scoreService;

    @PostMapping("/getScore")
    public R getScore(@RequestBody StuListClaInfo info){
        return R.success(scoreService.getScore(info));
    }
}
